"aoColumns": 
[
	{ "mData": "name" },
	{ "mData": "userip" },
	{ "mData": "usermac" },
	{ "mData": "upflow" },
	{ "mData": "downflow" },
      { "mData": "life" },
      { "mData": "state" },
	{ "mData": null }
],
"aoColumnDefs": 
[
   {
      "aTargets": [ -2 ] ,
      "mData": "state",
      "mRender": function ( data, type, full ) {
        var tmp = data
        
        if(data == 0){
          tmp = `<font color="red"><%:Unauthorized%></font>`
        }else if(data == 5) { 
          tmp = `<font color="blue" font-weight='bold'><%:Auth-Free%></font>` 
        } else if(data == 1) {
          tmp = `<font color="red"><%:Authenticating%></font>`
       } else if(data == 2){
          tmp = `<font color="green" font-weight='bold'><%:OK%></font>`
      }else if(data == 3) {
        tmp = `<font color="red"><%:Overfulfil%></font>`
      }
        return tmp
      }
    },
    {
      "aTargets": [ -1 ],
      "mData":  null ,
      "mRender": function ( data, type, full ) {
        var turl = "<%=self.cur_url%>"
                        + '/admin/ac_nac/onlineuser_drop/' + full.name
                        + "?usermac=" + full.usermac 
                        + "&userip=" + full.userip;
        return `<button class="btn btn-danger" type="button" onclick="if (confirm('<%=self.confirm%>')) location.href='${turl}'" alt="Drop" title="Drop">
              <i class="icon icon-remove"></i><%:Drop%>
              </button>`
      }
    }  
],
